package com.letfox.ad.dao.relation;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.letfox.ad.model.ADPhysicScreen;
import com.letfox.ad.model.ADScreenPlan;
import com.letfox.ad.model.ADSereenPlan;
import com.letfox.ad.model.ADServingMaterial;
import com.letfox.ad.model.ADTimeRangeStatistics;

@Repository
public interface ADColScreDao {
	
	public List<ADServingMaterial> getMaterialList(String servingId);
	public int insertPlan(ADScreenPlan adScreenPlan);
	public int insertScreenMaterial(Map<String, String> map);
	public int insertScrePlanMaterial(Map<String, String> map);
	public int insertPhysic(ADPhysicScreen adPhysicScreen);
	public int insertScreenPlayDetail(Map<String, String> map);
	public List<ADTimeRangeStatistics> selectAdEveryday(Map<String, String> map);
	public List<Map<String, String>> selectAdFirstTen(String sereenId);
	public Map<String, String> selectAdCurrent(Map<String, String> map);
	public String selectPlanMoney(String sereenId);
	public List<Map<String, String>> selectPhys();
	public List<Map<String, String>> selectADPlans();
	public ADServingMaterial getMaterial(String servingId);
	public List<Map<String, String>> selectAdPhysicTen(Map<String, String> map);
	public List<ADServingMaterial> MatchingMaterial(Map<String, String> map);
	public List<ADServingMaterial> twoMatchingMaterial(Map<String, Integer> map);
	public List<Map<String, String>> queryPlanList(Map<String, String> map);
	public List<Map<String,String>> queryScreenInfo(String screenPlanId);
	public Map<String, String> queryPlan(String screenPlanId);
	public void updatePlanInfo(ADSereenPlan adSereenPlan);
	public List<Map<String, String>> queryPhysicIdAll();
	public Map<String, String> queryPhysicId(String screenId);
}
